package com.gdsunfly.mongodb.repository;

import com.gdsunfly.mongodb.pojo.entity.Person;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * person dao层
 * @author gdsunfly_wangquanqing
 * @date 2019/6/12 17:28
 */
public interface PersonRepository extends MongoRepository<Person,Long> {

    Person getById(Long id);


}
